import java.util.Scanner;

public class Demo2 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double sum = 0;
		double Avg = 0;
		for (int i = 0; i < 5; i++) {
			System.out.print("请输入周" + (i + 1) + "学习时间:");
			int time = sc.nextInt();
			sum += time;
		}
		Avg = sum / 5;
		System.out.println("平均时间: " + Avg + "小时");

	}

}
